package com.sdk4.jinritemai.model.bean;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @author huangji
 * @date 2021/7/27 10:35
 */
@Getter
@Setter
public class DoudianOrderBatchEncryptResult implements Serializable {

    /**
     * 加密之后的数据
     */
    private List<EncryptInfos> encrypt_infos;

    /**
     * 业务错误
     */
    private customErr custom_err;

    @Setter
    @Getter
    public class EncryptInfos {

        /**
         * 业务标识，value为抖音订单号
         */
        private String auth_id;

        /**
         * 密文
         */
        private String cipher_text;
        /**
         * 明文
         */
        private String decrypt_text;
        /**
         * 错误码
         */
        private Integer err_no;

        /**
         * 错误描述
         */
        private String err_msg;

    }

    @Setter
    @Getter
    public class customErr {

        private Integer err_code;

        private String err_msg;
    }

}
